import request from '@/utils/request'

// 查询收费科室对照列表 (分页)
export function selectPageChargeVsDept(query) {
    return request({
        url: '/business/ChargeVsDept/selectPage',
        method: 'get',
        params: query
    })
}

// 查询收费科室对照列表 (不分页)
export function listChargeVsDept(query) {
    return request({
        url: '/business/ChargeVsDept/list',
        method: 'get',
        params: query
    })
}

// 查询收费科室对照详细
export function getChargeVsDept(id) {
    return request({
        url: '/business/ChargeVsDept/' + id,
        method: 'get'
    })
}

// 新增收费科室对照
export function addChargeVsDept(data) {
    return request({
        url: '/business/ChargeVsDept',
        method: 'post',
        data: data
    })
}

// 修改收费科室对照
export function updateChargeVsDept(data) {
    return request({
        url: '/business/ChargeVsDept',
        method: 'put',
        data: data
    })
}

// 删除收费科室对照
export function delChargeVsDept(id) {
    return request({
        url: '/business/ChargeVsDept/' + id,
        method: 'delete'
    })
}
